<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%
	String path = request.getContextPath();
	// 获得本项目的地址(例如: http://localhost:8080/MyApp/)赋值给basePath变量 
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	// 将 "项目路径basePath" 放入pageContext中，待以后用EL表达式读出。 
	pageContext.setAttribute("basePath", basePath);
%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录</title>

</head>
<body>
	<!--  下面是jsp(bootstrap效果)页面效果 -->
	<!--用的jsp的include指令获取inc.jsp。里边是bootstrap的框架 -->
	<%@include file="bootstrap/inc/inc.jsp"%>

	<div id="container" align="center">
		<div style="width: 500px;" align="left">
			<h2 align="center">欢迎来到天津理工大学</h2>
			<form class="form-horizontal" role="form" action="home.do"
				method="post" style="text-align: center;">
				<div class="form-group">
					<div class="col-sm-offset-2 col-sm-10">
						<button type="submit" class="btn btn-success">登录</button>
					</div>
				</div>
			</form>

		</div>
	</div>

</body>
</html>